package communication;

import jade.core.AID;
import jade.util.leap.Serializable;

public class LocationMessage extends Message implements Serializable {

	protected double latitude;
	protected double longitude;

	public LocationMessage(AID aid, double lat, double longt) {
		super(aid);
		type = MessageType.LOCATION;

		this.latitude = lat;
		this.longitude = longt;
	}

	public double getLatitude() {
		return latitude;
	}

	public double getLongitude() {
		return longitude;
	}

}
